package com.eorchis.module.trainingneeds.domain;

import java.util.Date;

import com.eorchis.utils.DateUtil;
import com.eorchis.utils.utils.PropertyUtil;

/**   
* @Title: QuerySurveyObjectBean 
* @Description: 查询调查对象列表返回的实体  
* @author HuangTF 
* @date 2014-3-12
* @version V1.0  
*  
*/ 
public class QuerySurveyObjectBean {
	private String questionnaireSurveyObjectId;//问卷调查对象主键Id
//	private String classId;//培训班ID
	private String userName;//学员姓名
	private String userId;//学员id
	private String sex;//性别
	private Date birthday;//出生日期
	private String birthdayStr;//出生日期字符串
	private String depName;//单位名称
	private String position;//职位
	private String rank;//职级
	private String questionnaireId;//问卷ID
	private String loginId;//登录号
	
	public String getQuestionnaireSurveyObjectId() {
		return questionnaireSurveyObjectId;
	}
	public void setQuestionnaireSurveyObjectId(String questionnaireSurveyObjectId) {
		this.questionnaireSurveyObjectId = questionnaireSurveyObjectId;
	}
	public String getLoginId() {
		return loginId;
	}
	public void setLoginId(String loginId) {
		this.loginId = loginId;
	}
	public String getQuestionnaireId() {
		return questionnaireId;
	}
	public void setQuestionnaireId(String questionnaireId) {
		this.questionnaireId = questionnaireId;
	}
	public String getBirthdayStr() {
		return birthdayStr;
	}
	public void setBirthdayStr(String birthdayStr) {
		this.birthdayStr = birthdayStr;
	}
	public String getPosition() {
		return position;
	}
	public void setPosition(String position) {
		this.position = position;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		if(PropertyUtil.objectNotEmpty(birthday))
		{
			this.setBirthdayStr(DateUtil.getDateString(birthday, "yyyy-MM-dd"));
		}
		this.birthday = birthday;
	}
	public String getDepName() {
		return depName;
	}
	public void setDepName(String depName) {
		this.depName = depName;
	}
	public String getRank() {
		return rank;
	}
	public void setRank(String rank) {
		this.rank = rank;
	}
//	public String getClassId() {
//		return classId;
//	}
//	public void setClassId(String classId) {
//		this.classId = classId;
//	}
	
}
